from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^register/$', views.RegisterView.as_view(), name='register'),
    url(r'^usernames/(?P<username>[a-zA-Z0-9]{5,20})/$', views.RegisterUsernameView.as_view(), name='register_username'),
    url(r'^mobiles/(?P<mobile>1[3-9]\d{9})/$', views.RegisterMobileView.as_view(), name='register_mobile'),
]